FROM tomcat:7.0.77-jre8
EXPOSE 6677
ENV TZ "Asia/Shanghai"
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["sh","/usr/local/bin/docker-entrypoint.sh"]
RUN rm -rf /usr/local/tomcat/webapps
ADD ./build/libs/dubbo-monitor-mongo-1.0.1.war /usr/local/tomcat/webapps/dubbo-monitor.war